<script src="{{$s_path}}/js/highcharts.js"></script>
<script type="text/javascript">

$(function () {
    var chart;
    $(document).ready(function() {
        chart = new Highcharts.Chart({
            chart: {
                renderTo: 'chart2',
                type: 'column',
                marginRight: 130,
                marginBottom: 25
				
            },
            title: {
                text: '{{$chart_title}}',
                x: -20 //center
            },
           
            xAxis: {
                categories: {{$line_chart.cats}}
            },
            yAxis: {
                title: {
                    text: '订单 (数)'
                }
            },
            tooltip: {
                formatter: function() {
                        return '<b>'+ this.series.name +'</b><br/>'+
                        this.x +': '+ this.y +'个';
                }
            },
            legend: {
                layout: 'vertical',
                align: 'right',
                verticalAlign: 'top',
			
                x: -10,
                y: 100
                
            },
            series: {{$line_chart.series}}
        });
    });
    
});
		</script>
        <div id="chart2" style="min-width: {{$line_chart.count*40}}px; height: 400px; margin: 0 auto; padding:10px 0;"></div>
    